package cn.ww.teach.controller;

import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * Created by Wangwang on 2017/12/21.
 */
public class DataCenter {
    /**
     * concurrentHashMap  key 为牌桌
     * value  HashMap<String,UserPoker> 的key 为用户id  userPoker为当前的牌
     */
    private static ConcurrentHashMap<Integer, HashMap<String, UserPoker>> tableMap = new ConcurrentHashMap<Integer, HashMap<String, UserPoker>>(1);

    static {
        Map<String, UserPoker> userMap = new HashMap<>();
        //tableMap.put();
    }
   //public boolean addUserTo
}
